package org.cmg.study.mybatis.entity;

/**
 * @author CMG
 * @version 1.0
 * @cLassName Order
 * @description
 * @date 2021/9/8 10:02
 **/
public class Order {
    private int oId;
    private int ordernum;

    public Order() {
    }

    public Order(int ordernum) {
        this.ordernum = ordernum;
    }

    public Order(int oId, int ordernum) {
        this.oId = oId;
        this.ordernum = ordernum;
    }

    public int getId() {
        return oId;
    }

    public void setId(int oId) {
        this.oId = oId;
    }

    public int getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(int ordernum) {
        this.ordernum = ordernum;
    }

    @Override
    public String toString() {
        return "Order{" +
                "oId=" + oId +
                ", ordernum=" + ordernum +
                '}';
    }
}
